<!-- 模板 -->
<template>
    <div class="page-ddd">
        <component-head></component-head>
        <component-menu></component-menu>
        <component-foot></component-foot>
        <div class="body" id="body">{{ text }}</div>
    </div>
</template>

<!-- 页面 -->
<script type="text/javascript" yv-type="text/page">
    var page = {
        data: function() {
            return {
                text: "news"
            };
        },
        components: {
            "component-head": yivue.components["component-head"],
            "component-menu": yivue.components["component-menu"],
            "component-foot": yivue.components["component-foot"]
        },
        template: document.getElementById("page-ddd").innerHTML
    };
</script>

<!-- 路由 -->
<script type="text/javascript" yv-type="text/route">
    var route = {
        path: "/ddd",
        name: "ddd",
        component: yivue.pages["page-ddd"]
    };
</script>
